package com.ai.module.user.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: MrHe
 * @create: 2023-09-02 10:19
 * @description: 用户表
 **/

@Data
@TableName("user_config")
public class UserConfigEntity extends BaseEntity {

    @TableField("slow_draw")
    private Integer slowDraw;

    @TableField("high_draw")
    private Integer highDraw;

    @TableField("token")
    private Integer token;

    @TableField("points")
    private Integer points;

    @TableField("points_protocol")
    private Integer pointsProtocol;

    @TableField("user_id")
    private String userId;

    //Invitation code
    @TableField("invite_code")
    private String inviteCode;

    @TableField("invite_by")
    private String inviteBy;

    @TableField("vip")
    private Integer vip;

    @TableField("vip_expire")
    private LocalDateTime vipExpire;

}
